package cn.sdormitory.retention;

import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author : yy
 * @date: 2024/9/11 11:30
 * @description:
 */
@Data
public class RetentionVO {
    private Long retentionId;
    private String studentName;
    private String className;
    @JsonFormat(pattern = DatePattern.NORM_DATE_PATTERN, timezone = "GMT+8")
    @DateTimeFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private Date registrantDate;
    private String registrantUser;
}
